#ifndef NUMBERDELEGATE_H
#define NUMBERDELEGATE_H

#include <QItemDelegate>

class NumberDelegate : public QItemDelegate
{
public:
    NumberDelegate(int type, QObject* parent = nullptr);

    QWidget* createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const override;
private:
    int m_index;
};

#endif // NUMBERDELEGATE_H
